//
//  KKAlert.h
//  PhnixHome
//
//  Created by Levy Xu on 2018/1/3.
//  Copyright © 2018年 Levy Xu. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface KKAlert : NSObject

+(QMUIAlertController *)warningWithText:(NSString *)text;
+(QMUIAlertController *)warningWithText:(NSString *)text ok:(void(^)(void))ok;
+(QMUIAlertController *)warningWithText:(NSString *)text cancel:(void(^)(void))cancel ok:(void(^)(void))ok;


+(QMUIAlertController *)alertWithTitle:(NSString *)title message:(NSString *)message ok:(void(^)(void))ok;
+(QMUIAlertController *)alertWithTitle:(NSString *)title message:(NSString *)message cancel:(void(^)(void))cancel ok:(void(^)(void))ok;

+(QMUIDialogTextFieldViewController *)inputWithTitle:(NSString *)title text:(NSString *)text placeholder:(NSString *)placeholder ok:(void(^)(NSString *string))ok;

@end
